<%--
说明：用户 增加/修改页面

@author liuxun 2010-05-20
--%>

<%@include file="../../common/common.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Expires" content="0" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<%
	response.setHeader("pragma", "no-cache");
	response.setHeader("cache-control", "no-cache");
	response.setDateHeader("expires", 0);
%>
<title><c:if test="${operationType == 1 }">Add</c:if> <c:if test="${ operationType == 2}">Modify</c:if>B/D administrator</title>
<script src="<c:url value="/jsp/registration/bd_admin_manage/bd_admin_manage_edit.js"/>" type="text/javascript" charset="UTF-8"></script>
</head>
<body>

  <form id="opeForm" name="opeForm" method="post" action="">

    <%-- Page Type  1: Add; 2: Modify--%>
    <input type="hidden" id="operationType" name="operationType" value="${operationType}" />

    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" class="editDisplay">
      <tr>
        <td valign="top">
          <table width="100%" border="0" cellpadding="0" cellspacing="0" class="editCaption">
            <tr>
              <td height="30">&nbsp;</td>
            </tr>
            <tr>
              <td align="center"><font class="editCaptionTitle"><c:if test="${operationType == 1 }">Add</c:if> <c:if test="${ operationType == 2}">Modify</c:if>B/D administrator</font>
              </td>
            </tr>
            <tr>
              <td height="40"></td>
            </tr>
          </table>
          <table width="100%" border="0" cellpadding="0" cellspacing="0" class="editTableBorder">
            <tr>
              <td>
                <table width="100%" border="0" align="left" cellpadding="0" cellspacing="0">
                  <tr>
                    <td class="editMainLabelTD" nowrap="nowrap" align="right" style="width: 20%;">DP user ID：&nbsp;</td>
                    <td class="editMainTD" nowrap="nowrap" align="left" style="width: 30%;"><input type="text" id="dp_user_id" name="model.DP_USER_ID" value="${model.DP_USER_ID}" <c:if test="${operationType==2}">readonly</c:if> class="editMainText" maxlength=20 /> &nbsp;<font color="red">*</font></td>
                  </tr>
                 
                  <tr>
                    <td class="editMainLabelTD" nowrap="nowrap" align="right" style="width: 20%;">Name：&nbsp;</td>
                    <td class="editMainTD" nowrap="nowrap" align="left" style="width: 30%;"><input type="text" id="bd_admin_name" name="model.BD_ADMIN_NAME" class="editMainText" value="${model.BD_ADMIN_NAME}" maxlength=50 /> &nbsp;<font color="red">*</font></td>
                  </tr>
                  
                  <tr>
                    <td class="editMainLabelTD" nowrap="nowrap" align="right" style="width: 20%;">Department：&nbsp;</td>
                    <td class="editMainTD" nowrap="nowrap" align="left" style="width: 30%;"><input type="text" id="department" name="model.DEPARTMENT" class="editMainText" value="${model.DEPARTMENT}" maxlength=50 /> &nbsp;<font color="red">*</font></td>
                  </tr>

                  <tr>
                    <td class="editMainLabelTD" align="right">Email：&nbsp;</td>
                    <td class="editMainTD" align="left"><input type="text" id="mail" name="model.MAIL" class="editMainText" value="${model.MAIL}" /></td>
                  </tr>
                  
                  <tr>
                    <td class="editMainLabelTD" align="right">Contact number：&nbsp;</td>
                    <td class="editMainTD" align="left"><input type="text" id="telephone_number" name="model.TELEPHONE_NUMBER" class="editMainText" value="${model.TELEPHONE_NUMBER}" /></td>
                  </tr>
                  <tr>
                    <td class="editMainConstTD" colspan="4">&nbsp;&nbsp;Note：marked <span><font color="red">*</font> </span> is required input.</td>
                  </tr>
                </table></td>
            </tr>
            <tr>
              <td colspan="3" class="editMainBottomTD">&nbsp;
                <div style="text-align: center; padding: 5px;">
                  <input type="button" id="saveBtn" name="saveBtn" value="Save" style="font-size: 90%;" />&nbsp;&nbsp;&nbsp;&nbsp;
                  <input type="button" id="cancelBtn" name="cancelBtn" value="Cancel" style="font-size: 90%;" />&nbsp;&nbsp;&nbsp;&nbsp;
                </div></td>
            </tr>
          </table></td>
      </tr>
    </table>

  </form>
</body>
</html>